<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>网络不给力</title>
    <link rel="stylesheet" type="text/css" href="../../css/main.css" />
    <style>
    body{
      background-color: #fff;
      height: 100%;
    }
    /*没有网络*/
    .big-box {
        text-align: center;
        background: #fff;
        border-radius: 20px;

        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .aliens {
        height: 160px;
    }

    .net {
        color: #464646;
        margin: 7px 0px 19px 0px;
    }

    .a {
        color: #c8c8c8;
        margin-bottom: 14px;
        font-size: 13px;
    }

    a {
        color: #39d7ff;
        font-size: 14px;
    }

    .footer {
        position: fixed;
        border: 1px solid #fff;
        height: 55px;
        bottom: 0px;
        left: 0px;
        right: 0px;
    }

    .homepage {
        width: 25%;
        text-align: center;
        float: left;
    }

    .home {
        width: 25px;
        height: 25px;
    }

    .page {
        font-size: 12px;
        color: #ea5618;
    }

    .pa {
        color: #686868;
        font-size: 12px;
    }

    </style>

</head>

<body>
    <div class="big-box">
        <img src="../../image/few/aliens.png" class="aliens">
        <div class="net">
            网络不给力
        </div>
        <div class="a">
            世界上最遥远的距离，莫过于网络不给力
        </div>
        <a href="#" onclick="shuaxinmethod()">刷新</a>
    </div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/faskclick.js"></script>
<script type="text/javascript">
var num;
apiready = function() {
    api.parseTapmode();
    num=api.pageParam.num;

    if ('addEventListener' in document) {
        document.addEventListener('DOMContentLoaded', function() {
            FastClick.attach(document.body);
        }, false);
    }

}
function shuaxinmethod() {
      api.sendEvent({
          name: 'shuaxin',
          extra: {
              numvalue: num,
          }
      });
}
</script>

</html>
